package com.editso.haier.dao;

import com.editso.haier.entity.Role;

import java.util.Optional;


public interface RoleDao extends Dao<Role, Integer>{
    boolean existsByName(String name);

    Optional<Role> findByName(String name);
}
